package com.fire.control.system.module.security.service;

import com.fire.control.system.dto.UserDTO;
import com.fire.control.system.standard.BusinessInterfaceStandard;
import com.fire.control.system.support.protocol.comman.ResponseProtocol;
import com.fire.control.system.support.protocol.security.SecurityRequestProtocol;

public interface ISecurityService extends BusinessInterfaceStandard<SecurityRequestProtocol, ResponseProtocol> {
     
	//根据条件查询安全人员列表
	public ResponseProtocol getSecurityListByCodition(SecurityRequestProtocol requestProtocol);
	
	//获得设备组
	public ResponseProtocol getDeviceGroup(SecurityRequestProtocol requestProtocol,UserDTO user);
	//添加安全管理员
	public ResponseProtocol addSecurityOr(SecurityRequestProtocol requestProtocol,UserDTO user);
	
	//修改安全管理员信息
	public ResponseProtocol updateSecurityOrInfo(SecurityRequestProtocol requestProtocol,UserDTO user);
	
	//启用或禁用安全管理员
	public ResponseProtocol switchSecurityOrStatus(SecurityRequestProtocol requestProtocol,UserDTO user);
	
	//删除选中安全管理员信息
	public ResponseProtocol deleteSecurityOrInfo(SecurityRequestProtocol requestProtocol);
	
	/**
	 * @author liuxincheng
	 * @Title: getSecuritOrDetail
	 * @Description: TODO(通过Id获得该人员详细信息)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol getSecuritOrDetail(SecurityRequestProtocol requestProtocol);
	
	/**
	 * @author liuxincheng
	 * @Title: getParentSecuritOr
	 * @Description: TODO(查询该人员的上级管理员)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol getParentSecuritOr(SecurityRequestProtocol requestProtocol);
	
	
	/**
	 * @author liuxincheng
	 * @Title: getSecurityOrPassWord
	 * @Description: TODO(获取安全人员密码)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol getSecurityOrPassWord(SecurityRequestProtocol requestProtocol);
}
